#include"httplib.h"
using namespace httplib;

void handler(const httplib::Request & req ,httplib::Response& res)
{
  res.body = "<html><body><h1>Hello Bit</h1></body></html>";
  res.status = 200;
  res.set_header("Hellow World！","text/html");
  //res.set_content("Hello World!","text/plain");
}



int main()
{
  //HTTP
  httplib::Server svr;
  svr.set_base_dir("./wwwroot");
  svr.Get("/hello",handler);
  svr.listen("0.0.0.0",9000);

  return 0;
}
